<?php
/**
 * 描述：行业展会-右侧公共栏目。
 * @abstract
 */
abstract class Exec_Exhibition_Right extends Exec
{
    public function __Construct()
    {
        #获取数据-展会专题
        $data=DB::GetRows('select * from exhibition_topic order by ID desc limit 0,5');
        foreach($data as &$row)
        {
            $row['ThumbnailPath']=Config::PATH_RELATIVE_ATTACHMENT_TEMP.'/'.$row['ThumbnailPath'];
        }
        View::Assign('Exhibition_PublicRight_Topic',$data);

        #获取数据-参展回顾
        $data=DB::GetRows('select * from news where SubclassID='.DAO_NewsClass::EXHIBITION_REVIEW_ID.' and M_IsDelete=FALSE order by ID desc limit 0,6');
        View::Assign('NewsClass_ExhibitionReview_ID',DAO_NewsClass::EXHIBITION_REVIEW_ID);
        View::Assign('Exhibition_PublicRight_RigthReview',$data);

        #执行逻辑
        parent::__construct();        
    }
}
?>